package com.hospital.hl7package.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.hl7package.module.entity.OperationSchedule;
import com.hospital.hl7package.module.mapper.OperationScheduleMapper;
import com.hospital.hl7package.module.service.OperationScheduleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2020-10-20
 */
@Service
public class OperationScheduleServiceImpl extends ServiceImpl<OperationScheduleMapper, OperationSchedule> implements OperationScheduleService {
    @Resource
  private OperationScheduleMapper operationScheduleMapper;
    @Override
    public OperationSchedule getOperationSchedule(String oneKey) {
        return operationScheduleMapper.getOperationSchedule(oneKey);
    }

    @Override
    public Boolean deleteOperationSchedule(String oneKey) {
        return operationScheduleMapper.deleteOperationSchedule(oneKey);
    }
}
